package model;

public class User implements IEntity
{
	private String phoneNumber;
	private String name;
	private String password;

	public User()
	{
		this.phoneNumber = null;
		this.name = null;
		this.password = null;
	}
	
	public User(String phoneNumber)
	{
		this.phoneNumber=phoneNumber;
	}

	public User(String phoneNumber, String password)
	{
		this.phoneNumber = phoneNumber;
		this.name = null;
		this.password = password;
	}

	public User(String phoneNumber, String name, String password)
	{
		this.phoneNumber = phoneNumber;
		this.name = name;
		this.password = password;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getPhoneNumber()
	{

		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber)
	{
		this.phoneNumber = phoneNumber;

	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

}
